<?php
include("/var/www/html/new/_made/le.cfg.php");
include("/var/www/html/new/com.inc.php");
$host = str_replace('www.', '', $_SERVER['HTTP_HOST']);
$applyAccount   = substr($host, 0, strpos($host, '.12301'));
$sql = "SELECT `fid` FROM pft_member_domain_info WHERE M_domain='{$applyAccount}' or M_account_domain='{$applyAccount}' LIMIT 1";
$GLOBALS['le']->query($sql);
$GLOBALS['le']->fetch_assoc();
$_SESSION['domain_mid']=$GLOBALS['le']->f('fid');
define('APPLY_DID', $_SESSION['domain_mid']);
if(!APPLY_DID)exit('非法访问');
if($_SESSION['sid']){
    header('Location:home.html');
   exit;
}

// ID：22009 账号：124062 手机：18978660983
$passport = $_COOKIE["passport"] ? $_COOKIE["passport"]:"商户ID或手机号码";
$style = $_COOKIE["passport"] ? "color:#000":"";
$s = new richmodule;
$s->Fetch_String("passport",$passport);
$s->Fetch_String("passport",$_COOKIE["passport"]);

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>桂林旅游公共营销平台</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="http://www.12301.cc/css/new_login_gui.css" /> 
<script language="javascript" type="text/javascript" src="http://www.12301.cc/js/jquery-1.8.0.min.js"></script>
<script type="text/javascript" src="http://www.12301.cc/js/md5.js"></script>
<script type="text/javascript" src="http://www.12301.cc/js/dlogin_n.js"></script>
<script type="text/javascript" src="http://www.12301.cc/js/new_login_new.js"></script>
<style>
.listUl{ position:relative}
.listUl .liCon{ height:32px; overflow:hidden;line-height:32px;}   
.listUl .statusTxt{ height:200px; line-height:200px; text-align:center}
.listUl .title{display:block;}
.listUl .t{font-size:12px;} 
.conWrap {
width: 100%;
height: 300px;
overflow: hidden;
margin-bottom: 10px;
}
.at{float:right;}
</style>
</head>
<body> 
	<div id="mask"></div>
    <!--头部-->
    <div class="header">
        <div class="top">
            <ul class="top_right">
                <li><a href="#" id="setHome">设为首页</a><span>|</span></li>
                <li><a href="#" id="addFav">加入收藏</a><span>&nbsp;</span></li>
            </ul>
        </div>
        <div class="head">
            <div class="logo">
            	<span><img src="http://www.12301.cc/images/new_login/logo_gui.png" /></a></span>
            </div> 
			<div class="navdl" >
				<ul>
					<li><a href="#" target="_blank">首&nbsp;&nbsp;&nbsp;页</a></li>
					<li><a href="http://glbzly.12301.cc/new/d/u/cpfw_gui.html" target="_blank">产品服务</a></li>  
					<li><a href="http://glbzly.12301.cc/new/d/u/index_guilin.html" target="_blank">客户案例</a></li>
					<li><a href="http://glbzly.12301.cc/new/d/u/yycj_gui.html" target="_blank">应用场景</a></li>
					<li><a href="http://glbzly.12301.cc/new/d/shops/guilin_about.html" target="_blank">关于我们</a></li> 
					<li class="tmail"><a href="http://gllygf.alitrip.com/" target="_blank">天猫店铺</a></li> 
				</ul> 
		</div>
        </div>
    </div>
	<!--头部结束-->
	<div id="et-slider-wrapper" class="et_slider_auto et_slider_speed_7000">
		<div id="et-slides">
			<div class="et-slide" style="background-image: url(http://www.12301.cc/images/new_login/new_login_gui.jpg); display: block; opacity: 1;"></div>
			<div class="et-slide" style="background-image: url(http://www.12301.cc/images/new_login/new_login_gui_a.jpg); display: none; opacity: 1;"></div>
			<div class="et-slide" style="background-image: url(http://www.12301.cc/images/new_login/new_login_gui_b.jpg); display: none; opacity: 0;"></div>
		</div> 
	</div>
	<div class="login_bg_btn"><div class="name_icon icon_a"></div></div>
	<div class="login_bg_btn_a"><div class="name_icon icon_b"></div></div>
	<form action="http://www.12301.cc/dlogin.php" method="post" target="ifr" >
	<input type="hidden" id="password" name="password" />
	<input type="hidden" name="to"  />
	<div class="banner">
		<div class="login_b">
			<div class="login_bg"></div>
					<div class="ind_login">
						<h4>登录平台</h4>
						<h5>欢迎使用</h5>
						<p>
							<input type="text" id="port" class="inputlogin input_s" name="passport" value="商户ID或手机号码"  style="" onfocus="cl(this)" onblur="cl(this)"  /> 
						</p>
						<p>
							<input type="password" class="inputlogin pawd input_s"  id="ps"  onfocus="inputTxt(this,1)" onblur="inputTxt(this)" />
						
						</p> 
						<p>
							<input type="button" class="login_btn"  onclick="Log();" value="登录" />
						</p></br>
						<p class="txtce">
							<a href="http://glbzly.12301.cc/new/d/register.html" class="cut">注册</a><span class="g">|</span><a href="http://glbzly.12301.cc/new/d/forget.html" class="cut_num">忘记密码？</a>
						</p>
					</div>
				</form>
				<iframe style="display:none;" name="ifr"></iframe>
		</div> 
	</div>
<div class="main">
	<div class="b_login_i">
		<div class="b_login_z" id="newsContainer">
			<div class="b_login_new">新闻公告</div> 
			<div class="b_login_li conWrap" id="newsSlideStage"> 
				<ul id="newsSlideListUl" class="listUl"> 
                </ul>
				
			</div>
		</div>
		<div class="b_login_m"></div>
	</div>
	<div style="clear:both"></div>	
</div>
<div class="foot"> 
	<div class="foot_f">
		<div class="f_left">
			<span class="f_left_tel">客服热线:0773-2181116</span></br>
			<span class="f_left_add">桂林市中山南路1号</br>
			</span>
		</div>
		<div class="f_right">
			<!-- <a href="http://www.12301.cc/about_ab.html" target="_blank">关于我们</a>
			<b>|</b>
			<a href="http://www.12301.cc/about_fx.html" target="_blank">关于分销</a>
			<b>|</b>
			<a href="http://www.12301.cc/about_gy.html" target="_blank">关于供应</a>
			<b>|</b>
			<a href="http://www.12301.cc/about_lx.html" target="_blank">联系我们</a>
			<b>|</b>
			<a href="http://www.12301.cc/about_api.html" target="_blank">API接口</a> -->
		   
		    <span class="f_right_add">©2015  All Rights Reserved.</br>桂林旅游公共营销平台 版权所有 </span>
		</div>
	</div>
</div>	  
<!-- 百度统计 -->
    <script>
        var _hmt = _hmt || [];
        (function() {
            var hm = document.createElement("script");
            hm.src = "//hm.baidu.com/hm.js?ad9bd4ac9e275d3fcf489aa813923d16";
            var s = document.getElementsByTagName("script")[0];
            s.parentNode.insertBefore(hm, s);
        })();
    </script>
    <!-- CNZZ统计 -->
    <style>#cnzz_stat_icon_1254715694{display: none;}</style>
    <script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");document.write(unescape("%3Cspan id='cnzz_stat_icon_1254715694'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s11.cnzz.com/stat.php%3Fid%3D1254715694' type='text/javascript'%3E%3C/script%3E"));</script>
	<script type="text/javascript">		
		var port=document.getElementById("port");
		var ps=document.getElementById("ps");
		var yz=document.getElementById("yz");
		document.body.onkeydown=function(e){
									if(!e)e=event;
									if(e.keyCode==13 && ps.value && port.value)
										Log();
								}
		port.onkeydown=function(e){
							if(!e)e=event;
							if(e.keyCode==13 && this.value)
								ps.focus();
						}
		$("#addFav").click(function(event){
		AddFavorite("http://www.12301.cc/",'票付通');
		event.preventDefault();
		})
		$("#setHome").click(function(event){
			SetHome(this,"http://www.12301.cc/");
			event.preventDefault();
		})
		G.News.init("#newsContainer");
	</script>
	<script type="text/javascript" src="http://www.12301.cc/js/new/jquery.fitvids.js"></script><!--留-->
	<script type="text/javascript" src="http://www.12301.cc/js/new/custom.js"></script>
</body>
</html>



